package common;

import java.util.Collection;

/**
 * Created by lx on 2017/7/6.
 * 集合相关 工具类
 *
 *
 */
public class CollectionUtil {

    /**
     * 校验集合是否为空
     * @param collection
     * @return
     */
    public static boolean isEntry(Collection collection){
        if(collection == null || collection.size() == 0){
            return false;
        }
        return true;
    }
}
